<?php
<object class="Complete_WS" name="Complete_WS" baseclass="page">
  <property name="Background"></property>
  <property name="Caption">Vehicle Workorder Create</property>
  <property name="Color">#000000</property>
  <property name="DocType">dtNone</property>
  <property name="Height">688</property>
  <property name="IsMaster">0</property>
  <property name="Name">Complete_WS</property>
  <property name="UseAjax">1</property>
  <property name="Width">1079</property>
  <property name="OnCreate">Complete_WSCreate</property>
  <property name="jsOnLoad">Complete_WSJSLoad</property>
  <object class="Image" name="Image1" >
    <property name="Border">0</property>
    <property name="Height">30</property>
    <property name="ImageSource">image/new_worksum.png</property>
    <property name="Link"></property>
    <property name="LinkTarget"></property>
    <property name="Name">Image1</property>
    <property name="Width">956</property>
  </object>
  <object class="Label" name="lblCreationDate" >
    <property name="Caption">Creation Date:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">33</property>
    <property name="Name">lblCreationDate</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">99</property>
    <property name="Width">85</property>
  </object>
  <object class="DateTimePicker" name="dpCreationDate" >
    <property name="Caption">dpCreationDate</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">20</property>
    <property name="IfFormat">%Y-%m-%d</property>
    <property name="Left">123</property>
    <property name="Name">dpCreationDate</property>
    <property name="ParentFont">0</property>
    <property name="Top">94</property>
    <property name="Width">161</property>
  </object>
  <object class="Edit" name="edOrderNo" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">123</property>
    <property name="Name">edOrderNo</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="ReadOnly">1</property>
    <property name="TabOrder">1</property>
    <property name="Top">62</property>
    <property name="Width">161</property>
    <property name="jsOnBlur">edOrderNoJSBlur</property>
  </object>
  <object class="Label" name="lblDriver" >
    <property name="Caption">Driver:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">10</property>
    <property name="Left">332</property>
    <property name="Name">lblDriver</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">130</property>
    <property name="Width">38</property>
  </object>
  <object class="Label" name="lblOdometer" >
    <property name="Alignment">agRight</property>
    <property name="Caption">*Odometer:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">298</property>
    <property name="Name">lblOdometer</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">99</property>
    <property name="Width">72</property>
  </object>
  <object class="Edit" name="edOdometer" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">376</property>
    <property name="Name">edOdometer</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">2</property>
    <property name="Top">95</property>
    <property name="Width">110</property>
    <property name="jsOnBlur">edOdometerJSBlur</property>
    <property name="jsOnKeyUp">edOdometerJSKeyUp</property>
  </object>
  <object class="ComboBox" name="cmbDriver" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Items">a:0:{}</property>
    <property name="Left">376</property>
    <property name="Name">cmbDriver</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">4</property>
    <property name="Top">123</property>
    <property name="Width">289</property>
  </object>
  <object class="Label" name="lblServiced" >
    <property name="Caption">Serviced By:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">296</property>
    <property name="Name">lblServiced</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">55</property>
    <property name="Visible">0</property>
    <property name="Width">74</property>
  </object>
  <object class="ComboBox" name="cmbServiced" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Items">a:0:{}</property>
    <property name="Left">375</property>
    <property name="Name">cmbServiced</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">5</property>
    <property name="Top">51</property>
    <property name="Visible">0</property>
    <property name="Width">161</property>
  </object>
  <object class="Label" name="lblAcct" >
    <property name="Caption">Account:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">324</property>
    <property name="Name">lblAcct</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">156</property>
    <property name="Width">50</property>
  </object>
  <object class="ComboBox" name="cmbAcct" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Items">a:0:{}</property>
    <property name="Left">376</property>
    <property name="Name">cmbAcct</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">7</property>
    <property name="Top">152</property>
    <property name="Width">289</property>
  </object>
  <object class="Label" name="lblDescription" >
    <property name="Caption">Type:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">338</property>
    <property name="Name">lblDescription</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">182</property>
    <property name="Width">33</property>
  </object>
  <object class="ComboBox" name="cmbDescription" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Items">a:0:{}</property>
    <property name="Left">376</property>
    <property name="Name">cmbDescription</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">9</property>
    <property name="Top">179</property>
    <property name="Width">289</property>
  </object>
  <object class="Label" name="lblFullDescription" >
    <property name="Caption">Description:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">47</property>
    <property name="Name">lblFullDescription</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">205</property>
    <property name="Width">71</property>
  </object>
  <object class="Memo" name="memoFullDescription" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">40</property>
    <property name="Left">123</property>
    <property name="Lines">a:0:{}</property>
    <property name="Name">memoFullDescription</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">11</property>
    <property name="Top">206</property>
    <property name="Width">542</property>
  </object>
  <object class="HiddenField" name="hiddenLine" >
    <property name="Height">18</property>
    <property name="Left">624</property>
    <property name="Name">hiddenLine</property>
    <property name="Top">21</property>
    <property name="Width">100</property>
  </object>
  <object class="Label" name="lblMaint1" >
    <property name="Caption">Remarks:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">59</property>
    <property name="Name">lblMaint1</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">251</property>
    <property name="Width">55</property>
  </object>
  <object class="JTGroupBox" name="jtStatus" >
    <property name="AnchorsWorkaround">--Workaround--</property>
    <property name="Caption">Status</property>
    <property name="Height">37</property>
    <property name="Left">298</property>
    <property name="Name">jtStatus</property>
    <property name="SiteTheme"></property>
    <property name="Top">23</property>
    <property name="Visible">0</property>
    <property name="Width">210</property>
    <object class="CheckBox" name="chkWarr" >
      <property name="Caption">Warr</property>
      <property name="Color">#FFFFFF</property>
      <property name="Height">17</property>
      <property name="Left">6</property>
      <property name="Name">chkWarr</property>
      <property name="ParentColor">0</property>
      <property name="TabOrder"></property>
      <property name="Top">12</property>
      <property name="Width">48</property>
    </object>
    <object class="CheckBox" name="chkRecall" >
      <property name="Caption">Back Job</property>
      <property name="Color">#FFFFFF</property>
      <property name="Height">17</property>
      <property name="Left">55</property>
      <property name="Name">chkRecall</property>
      <property name="ParentColor">0</property>
      <property name="TabOrder">3</property>
      <property name="Top">12</property>
      <property name="Width">71</property>
    </object>
    <object class="CheckBox" name="chkComplete" >
      <property name="Caption">Complete</property>
      <property name="Color">#FFFFFF</property>
      <property name="Height">17</property>
      <property name="Left">129</property>
      <property name="Name">chkComplete</property>
      <property name="ParentColor">0</property>
      <property name="TabOrder"></property>
      <property name="Top">12</property>
      <property name="Width">73</property>
    </object>
  </object>
  <object class="Image" name="imgBack" >
    <property name="Autosize">1</property>
    <property name="Border">0</property>
    <property name="Cursor">crPointer</property>
    <property name="Height">45</property>
    <property name="ImageSource">image/btn_back.png</property>
    <property name="Left">1024</property>
    <property name="Link"></property>
    <property name="LinkTarget"></property>
    <property name="Name">imgBack</property>
    <property name="Width">45</property>
    <property name="OnClick">imgBackClick</property>
    <property name="jsOnMouseOut">imgBackJSMouseOut</property>
    <property name="jsOnMouseOver">imgBackJSMouseOver</property>
  </object>
  <object class="JTGroupBox" name="JTGroupBox1" >
    <property name="AnchorsWorkaround">--Workaround--</property>
    <property name="Caption">Charges / Billing</property>
    <property name="Height">140</property>
    <property name="Left">722</property>
    <property name="Name">JTGroupBox1</property>
    <property name="SiteTheme"></property>
    <property name="Top">124</property>
    <property name="Width">210</property>
    <object class="Label" name="lblLabor" >
      <property name="Caption">Labor</property>
      <property name="Color">#000000</property>
      <property name="Font">
            <property name="Color">#FFFFFF</property>
      </property>
      <property name="Height">13</property>
      <property name="Left">66</property>
      <property name="Name">lblLabor</property>
      <property name="ParentColor">0</property>
      <property name="ParentFont">0</property>
      <property name="Top">26</property>
      <property name="Width">31</property>
    </object>
    <object class="Edit" name="edLabor" >
      <property name="Color">#707070</property>
      <property name="Enabled">0</property>
      <property name="Font">
            <property name="Align">taRight</property>
            <property name="Color">#000000</property>
      </property>
      <property name="Height">21</property>
      <property name="Left">103</property>
      <property name="Name">edLabor</property>
      <property name="ParentColor">0</property>
      <property name="ParentFont">0</property>
      <property name="ReadOnly">1</property>
      <property name="TabOrder">16</property>
      <property name="Top">22</property>
      <property name="Width">63</property>
    </object>
    <object class="Label" name="lblMisc" >
      <property name="Caption">Misc</property>
      <property name="Color">#000000</property>
      <property name="Font">
            <property name="Color">#FFFFFF</property>
      </property>
      <property name="Height">13</property>
      <property name="Left">71</property>
      <property name="Name">lblMisc</property>
      <property name="ParentColor">0</property>
      <property name="ParentFont">0</property>
      <property name="Top">68</property>
      <property name="Width">27</property>
    </object>
    <object class="Label" name="lblParts" >
      <property name="Caption">Parts</property>
      <property name="Color">#000000</property>
      <property name="Font">
            <property name="Color">#FFFFFF</property>
      </property>
      <property name="Height">13</property>
      <property name="Left">71</property>
      <property name="Name">lblParts</property>
      <property name="ParentColor">0</property>
      <property name="ParentFont">0</property>
      <property name="Top">47</property>
      <property name="Width">26</property>
    </object>
    <object class="Edit" name="edParts" >
      <property name="Color">#707070</property>
      <property name="Enabled">0</property>
      <property name="Font">
            <property name="Align">taRight</property>
            <property name="Color">#000000</property>
      </property>
      <property name="Height">21</property>
      <property name="Left">103</property>
      <property name="Name">edParts</property>
      <property name="ParentColor">0</property>
      <property name="ParentFont">0</property>
      <property name="ReadOnly">1</property>
      <property name="TabOrder">17</property>
      <property name="Top">43</property>
      <property name="Width">63</property>
    </object>
    <object class="Edit" name="edDiscount" >
      <property name="Color">#000000</property>
      <property name="Font">
            <property name="Align">taRight</property>
            <property name="Color">#FFFFFF</property>
      </property>
      <property name="Height">21</property>
      <property name="Left">103</property>
      <property name="Name">edDiscount</property>
      <property name="ParentColor">0</property>
      <property name="ParentFont">0</property>
      <property name="TabOrder">13</property>
      <property name="Top">87</property>
      <property name="Width">63</property>
      <property name="jsOnKeyUp">edDiscountJSKeyUp</property>
    </object>
    <object class="Label" name="lblDiscount" >
      <property name="Caption">Discount</property>
      <property name="Color">#000000</property>
      <property name="Font">
            <property name="Color">#FFFFFF</property>
      </property>
      <property name="Height">13</property>
      <property name="Left">50</property>
      <property name="Name">lblDiscount</property>
      <property name="ParentColor">0</property>
      <property name="ParentFont">0</property>
      <property name="Top">91</property>
      <property name="Width">48</property>
    </object>
    <object class="Edit" name="edTotal" >
      <property name="Color">#707070</property>
      <property name="Enabled">0</property>
      <property name="Font">
            <property name="Align">taRight</property>
            <property name="Color">#000000</property>
      </property>
      <property name="Height">21</property>
      <property name="Left">103</property>
      <property name="Name">edTotal</property>
      <property name="ParentColor">0</property>
      <property name="ParentFont">0</property>
      <property name="ReadOnly">1</property>
      <property name="TabOrder">20</property>
      <property name="Top">112</property>
      <property name="Width">63</property>
    </object>
    <object class="Label" name="lblTotal" >
      <property name="Caption">Total</property>
      <property name="Color">#000000</property>
      <property name="Font">
            <property name="Color">#FFFFFF</property>
      </property>
      <property name="Height">13</property>
      <property name="Left">69</property>
      <property name="Name">lblTotal</property>
      <property name="ParentColor">0</property>
      <property name="ParentFont">0</property>
      <property name="Top">116</property>
      <property name="Width">28</property>
    </object>
    <object class="Edit" name="edMisc" >
      <property name="Color">#707070</property>
      <property name="Enabled">0</property>
      <property name="Font">
            <property name="Align">taRight</property>
            <property name="Color">#000000</property>
      </property>
      <property name="Height">21</property>
      <property name="Left">103</property>
      <property name="Name">edMisc</property>
      <property name="ParentColor">0</property>
      <property name="ParentFont">0</property>
      <property name="ReadOnly">1</property>
      <property name="TabOrder">18</property>
      <property name="Top">64</property>
      <property name="Width">63</property>
    </object>
  </object>
  <object class="CheckBox" name="chkMisc" >
    <property name="Checked">1</property>
    <property name="Height">21</property>
    <property name="Left">1056</property>
    <property name="Name">chkMisc</property>
    <property name="Top">202</property>
    <property name="Visible">0</property>
    <property name="Width">23</property>
    <property name="jsOnChange">chkMiscJSChange</property>
  </object>
  <object class="CheckBox" name="chkLabor" >
    <property name="Checked">1</property>
    <property name="Height">21</property>
    <property name="Left">1058</property>
    <property name="Name">chkLabor</property>
    <property name="Top">160</property>
    <property name="Visible">0</property>
    <property name="Width">17</property>
    <property name="jsOnChange">chkLaborJSChange</property>
  </object>
  <object class="CheckBox" name="chkParts" >
    <property name="Checked">1</property>
    <property name="Height">21</property>
    <property name="Left">1058</property>
    <property name="Name">chkParts</property>
    <property name="Top">181</property>
    <property name="Visible">0</property>
    <property name="Width">21</property>
    <property name="jsOnChange">chkPartsJSChange</property>
  </object>
  <object class="Memo" name="memoRemarks" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">42</property>
    <property name="Left">123</property>
    <property name="Lines">a:0:{}</property>
    <property name="MaxLength">255</property>
    <property name="Name">memoRemarks</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">14</property>
    <property name="Top">254</property>
    <property name="Width">542</property>
  </object>
  <object class="Upload" name="UploadPDF" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">764</property>
    <property name="Name">UploadPDF</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">12</property>
    <property name="TabStop"></property>
    <property name="Top">96</property>
    <property name="Width">141</property>
  </object>
  <object class="Button" name="btnShowAccount" >
    <property name="ButtonType">btNormal</property>
    <property name="Caption">+</property>
    <property name="Color">#000000</property>
    <property name="Cursor">crPointer</property>
    <property name="Font">
        <property name="Align">taCenter</property>
        <property name="Color">#FFFFFF</property>
        <property name="Size">10</property>
    </property>
    <property name="Height">19</property>
    <property name="Hint">add emission account</property>
    <property name="Left">665</property>
    <property name="Name">btnShowAccount</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="ParentShowHint">0</property>
    <property name="ShowHint">1</property>
    <property name="TabOrder">8</property>
    <property name="Top">152</property>
    <property name="Width">20</property>
    <property name="jsOnClick">btnShowAccountJSClick</property>
  </object>
  <object class="HiddenField" name="compid" >
    <property name="Height">18</property>
    <property name="Left">624</property>
    <property name="Name">compid</property>
    <property name="Top">41</property>
    <property name="Width">100</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript1" >
    <property name="Code"><![CDATA[function AjaxAccount2(ac,compid)
{
var httpxml;
try
  {
  // Firefox, Opera 8.0+, Safari
  httpxml=new XMLHttpRequest();
  }
  catch (e)
  {
  // Internet Explorer
  try
  {
  httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
  }
  catch (e)
  {
  try
  {
  httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
  catch (e)
  {
  alert(&quot;Your browser does not support AJAX!&quot;);
  return false;
  }
  }
  }
  function stateck()
  {
  if(httpxml.readyState==4)
  {
  //eval(httpxml.responseText);
  AjaxAccount('woaccountajax.php','cmbAcct',compid);
  AjaxAccount('woaccountajax.php','listAccount',compid);

  }
  }
  var url='addwoaccountajax.php';
  url=url+&quot;?val=&quot;+ac;
  url=url+&quot;&amp;compid=&quot;+compid;
  httpxml.onreadystatechange=stateck;
  httpxml.open(&quot;GET&quot;,url,true);
  httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">728</property>
    <property name="Name">JTJavaScript1</property>
    <property name="Top">13</property>
    <property name="Width">150</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript2" >
    <property name="Code"><![CDATA[function AjaxAccount(urlget,elemidtochange,compid)
{
var httpxml;
try
{
	// Firefox, Opera 8.0+, Safari
	httpxml=new XMLHttpRequest();
	}
	catch (e)
	{
	// Internet Explorer
	try
	{
	httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
	}
	catch (e)
	{
	try
	{
	httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
	}
	catch (e)
	{
	alert(&quot;Your browser does not support AJAX!&quot;);
	return false;
	}
	}
	}
	function stateck() 
	{
	if(httpxml.readyState==4)
	{
	var myarray=eval(httpxml.responseText);
	// Before adding new we must remove previously loaded elements
	for(j=document.getElementById(elemidtochange).options.length-1;j&gt;=0;j--)
	{
	document.getElementById(elemidtochange).remove(j);
	}
	for (i=0;i&lt;myarray.length;i++)
	{
	var objDropdown = document.getElementById(elemidtochange);
	var objOption = new Option(myarray[i],myarray[i]);
	objDropdown.options[objDropdown.length] = objOption;
	}
	}
	}
	var url=urlget;
	url=url+&quot;?compider=&quot;+compid;
	httpxml.onreadystatechange=stateck;
	httpxml.open(&quot;GET&quot;,url,true);
	httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">728</property>
    <property name="Name">JTJavaScript2</property>
    <property name="Top">32</property>
    <property name="Width">150</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript3" >
    <property name="Code"><![CDATA[function AjaxAccount3(ac,compid)
{
var httpxml;
try
  {
  // Firefox, Opera 8.0+, Safari
  httpxml=new XMLHttpRequest();
  }
  catch (e)
  {
  // Internet Explorer
  try
  {
  httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
  }
  catch (e)
  {
  try
  {
  httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
  catch (e)
  {
  alert(&quot;Your browser does not support AJAX!&quot;);
  return false;
  }
  }
  }
  function stateck()
  {
  if(httpxml.readyState==4)
  {
  //eval(httpxml.responseText);
  AjaxAccount('woaccountajax.php','cmbAcct',compid);
  AjaxAccount('woaccountajax.php','listAccount',compid);
  }
  }
  var url='delwoaccountajax.php';
  url=url+&quot;?val=&quot;+ac;
  url=url+&quot;&amp;compid=&quot;+compid;
  httpxml.onreadystatechange=stateck;
  httpxml.open(&quot;GET&quot;,url,true);
  httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">728</property>
    <property name="Name">JTJavaScript3</property>
    <property name="Top">47</property>
    <property name="Width">150</property>
  </object>
  <object class="Button" name="btnShowServiced" >
    <property name="ButtonType">btNormal</property>
    <property name="Caption">+</property>
    <property name="Color">#000000</property>
    <property name="Cursor">crPointer</property>
    <property name="Font">
        <property name="Align">taCenter</property>
        <property name="Color">#FFFFFF</property>
        <property name="Size">10</property>
    </property>
    <property name="Height">19</property>
    <property name="Hint">add service provider</property>
    <property name="Left">536</property>
    <property name="Name">btnShowServiced</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="ParentShowHint">0</property>
    <property name="ShowHint">1</property>
    <property name="TabOrder">6</property>
    <property name="Top">51</property>
    <property name="Visible">0</property>
    <property name="Width">20</property>
    <property name="jsOnClick">btnShowServicedJSClick</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript4" >
    <property name="Code"><![CDATA[function AjaxServiced2(sv,compid)
{
var httpxml;
try
  {
  // Firefox, Opera 8.0+, Safari
  httpxml=new XMLHttpRequest();
  }
  catch (e)
  {
  // Internet Explorer
  try
  {
  httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
  }
  catch (e)
  {
  try
  {
  httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
  catch (e)
  {
  alert(&quot;Your browser does not support AJAX!&quot;);
  return false;
  }
  }
  }
  function stateck()
  {
  if(httpxml.readyState==4)
  {
  //eval(httpxml.responseText);
  AjaxServiced('servicedajax.php','cmbServiced',compid);
  AjaxServiced('servicedajax.php','listServiced',compid);

  }
  }
  var url='addservicedajax.php';
  url=url+&quot;?val=&quot;+sv;
  url=url+&quot;&amp;compid=&quot;+compid;
  httpxml.onreadystatechange=stateck;
  httpxml.open(&quot;GET&quot;,url,true);
  httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">881</property>
    <property name="Name">JTJavaScript4</property>
    <property name="Top">13</property>
    <property name="Width">150</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript5" >
    <property name="Code"><![CDATA[function AjaxServiced(urlget,elemidtochange,compid)
{
var httpxml;
try
{
	// Firefox, Opera 8.0+, Safari
	httpxml=new XMLHttpRequest();
	}
	catch (e)
	{
	// Internet Explorer
	try
	{
	httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
	}
	catch (e)
	{
	try
	{
	httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
	}
	catch (e)
	{
	alert(&quot;Your browser does not support AJAX!&quot;);
	return false;
	}
	}
	}
	function stateck() 
	{
	if(httpxml.readyState==4)
	{
	var myarray=eval(httpxml.responseText);
	// Before adding new we must remove previously loaded elements
	for(j=document.getElementById(elemidtochange).options.length-1;j&gt;=0;j--)
	{
	document.getElementById(elemidtochange).remove(j);
	}
	for (i=0;i&lt;myarray.length;i++)
	{
	var objDropdown = document.getElementById(elemidtochange);
	var objOption = new Option(myarray[i],myarray[i]);
	objDropdown.options[objDropdown.length] = objOption;
	}
	}
	}
	var url=urlget;
	url=url+&quot;?compider=&quot;+compid;
	httpxml.onreadystatechange=stateck;
	httpxml.open(&quot;GET&quot;,url,true);
	httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">881</property>
    <property name="Name">JTJavaScript5</property>
    <property name="Top">31</property>
    <property name="Width">150</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript6" >
    <property name="Code"><![CDATA[function AjaxServiced3(sv,compid)
{
var httpxml;
try
  {
  // Firefox, Opera 8.0+, Safari
  httpxml=new XMLHttpRequest();
  }
  catch (e)
  {
  // Internet Explorer
  try
  {
  httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
  }
  catch (e)
  {
  try
  {
  httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
  catch (e)
  {
  alert(&quot;Your browser does not support AJAX!&quot;);
  return false;
  }
  }
  }
  function stateck()
  {
  if(httpxml.readyState==4)
  {
  //eval(httpxml.responseText);
  AjaxServiced('servicedajax.php','cmbServiced',compid);
  AjaxServiced('servicedajax.php','listServiced',compid);
  }
  }
  var url='delservicedajax.php';
  url=url+&quot;?val=&quot;+sv;
  url=url+&quot;&amp;compid=&quot;+compid;
  httpxml.onreadystatechange=stateck;
  httpxml.open(&quot;GET&quot;,url,true);
  httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">881</property>
    <property name="Name">JTJavaScript6</property>
    <property name="Top">47</property>
    <property name="Width">150</property>
  </object>
  <object class="Button" name="btnShowDescription" >
    <property name="ButtonType">btNormal</property>
    <property name="Caption">+</property>
    <property name="Color">#000000</property>
    <property name="Cursor">crPointer</property>
    <property name="Font">
        <property name="Align">taCenter</property>
        <property name="Color">#FFFFFF</property>
        <property name="Size">10</property>
    </property>
    <property name="Height">19</property>
    <property name="Hint">add workorder description</property>
    <property name="Left">665</property>
    <property name="Name">btnShowDescription</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="ParentShowHint">0</property>
    <property name="ShowHint">1</property>
    <property name="TabOrder">10</property>
    <property name="Top">179</property>
    <property name="Width">20</property>
    <property name="jsOnClick">btnShowDescriptionJSClick</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript7" >
    <property name="Code"><![CDATA[function AjaxDesc2(de,compid)
{ 
try
  {
  // Firefox, Opera 8.0+, Safari
  httpxml=new XMLHttpRequest();
  }
  catch (e)
  {
  // Internet Explorer
  try
  {
  httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
  }
  catch (e)
  {
  try
  {
  httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
  catch (e)
  {
  alert(&quot;Your browser does not support AJAX!&quot;);
  return false;
  }
  }
  }
  function stateck()
  {
  if(httpxml.readyState==4)
  {
  //eval(httpxml.responseText);
  AjaxDesc('wodescriptionajax.php','cmbDescription',compid);
  AjaxDesc('wodescriptionajax.php','listDescription',compid);

  }
  }
  var url='addwodescriptionajax.php';
  url=url+&quot;?val=&quot;+de;
  url=url+&quot;&amp;compid=&quot;+compid;
  httpxml.onreadystatechange=stateck;
  httpxml.open(&quot;GET&quot;,url,true);
  httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">470</property>
    <property name="Name">JTJavaScript7</property>
    <property name="Top">19</property>
    <property name="Width">150</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript8" >
    <property name="Code"><![CDATA[function AjaxDesc(urlget,elemidtochange,compid)
{
var httpxml;
try
{
	// Firefox, Opera 8.0+, Safari
	httpxml=new XMLHttpRequest();
	}
	catch (e)
	{
	// Internet Explorer
	try
	{
	httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
	}
	catch (e)
	{
	try
	{
	httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
	}
	catch (e)
	{
	alert(&quot;Your browser does not support AJAX!&quot;);
	return false;
	}
	}
	}
	function stateck() 
	{
	if(httpxml.readyState==4)
	{
	var myarray=eval(httpxml.responseText);
	// Before adding new we must remove previously loaded elements
	for(j=document.getElementById(elemidtochange).options.length-1;j&gt;=0;j--)
	{
	document.getElementById(elemidtochange).remove(j);
	}
	for (i=0;i&lt;myarray.length;i++)
	{
	var objDropdown = document.getElementById(elemidtochange);
	var objOption = new Option(myarray[i],myarray[i]);
	objDropdown.options[objDropdown.length] = objOption;
	}
	}
	}
	var url=urlget;
	url=url+&quot;?compider=&quot;+compid;
	httpxml.onreadystatechange=stateck;
	httpxml.open(&quot;GET&quot;,url,true);
	httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">470</property>
    <property name="Name">JTJavaScript8</property>
    <property name="Top">34</property>
    <property name="Width">150</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript9" >
    <property name="Code"><![CDATA[function AjaxDesc3(de,compid)
{
var httpxml;
try
  {
  // Firefox, Opera 8.0+, Safari
  httpxml=new XMLHttpRequest();
  }
  catch (e)
  {
  // Internet Explorer
  try
  {
  httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
  }
  catch (e)
  {
  try
  {
  httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
  catch (e)
  {
  alert(&quot;Your browser does not support AJAX!&quot;);
  return false;
  }
  }
  }
  function stateck()
  {
  if(httpxml.readyState==4)
  {
  //eval(httpxml.responseText);
  AjaxDesc('wodescriptionajax.php','cmbDescription',compid);
  AjaxDesc('wodescriptionajax.php','listDescription',compid);
  }
  }
  var url='delwodescriptionajax.php';
  url=url+&quot;?val=&quot;+de;
  url=url+&quot;&amp;compid=&quot;+compid;
  httpxml.onreadystatechange=stateck;
  httpxml.open(&quot;GET&quot;,url,true);
  httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">470</property>
    <property name="Name">JTJavaScript9</property>
    <property name="Top">48</property>
    <property name="Width">150</property>
  </object>
  <object class="Button" name="btnSubmit" >
    <property name="Caption">Submit</property>
    <property name="Color">#000000</property>
    <property name="Cursor">crPointer</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">25</property>
    <property name="Left">26</property>
    <property name="Name">btnSubmit</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">15</property>
    <property name="Top">613</property>
    <property name="Width">75</property>
    <property name="OnClick">btnSubmitClick</property>
  </object>
  <object class="Button" name="btnCancel" >
    <property name="Caption">Cancel</property>
    <property name="Color">#000000</property>
    <property name="Cursor">crPointer</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">25</property>
    <property name="Left">111</property>
    <property name="Name">btnCancel</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">16</property>
    <property name="Top">613</property>
    <property name="Width">75</property>
    <property name="OnClick">btnCancelClick</property>
  </object>
  <object class="JTPageControl" name="JTPageControl1" >
    <property name="ActiveLayer">Labor</property>
    <property name="AnchorsWorkaround">--Workaround--</property>
    <property name="Height">296</property>
    <property name="Left">26</property>
    <property name="Name">JTPageControl1</property>
    <property name="SiteTheme"></property>
    <property name="TabIndex">0</property>
    <property name="Tabs"><![CDATA[a:3:{i:0;a:3:{i:0;s:5:&quot;Labor&quot;;i:1;s:5:&quot;Labor&quot;;i:2;s:1:&quot;1&quot;;}i:1;a:3:{i:0;s:5:&quot;Parts&quot;;i:1;s:5:&quot;Parts&quot;;i:2;s:1:&quot;1&quot;;}i:2;a:3:{i:0;s:13:&quot;Miscellaneous&quot;;i:1;s:13:&quot;Miscellaneous&quot;;i:2;s:1:&quot;1&quot;;}}]]></property>
    <property name="Top">306</property>
    <property name="Width">906</property>
    <object class="JTIFrame" name="JTFrameLabor" >
      <property name="AnchorsWorkaround">--Workaround--</property>
      <property name="Height">226</property>
      <property name="Layer">Labor</property>
      <property name="Left">10</property>
      <property name="Name">JTFrameLabor</property>
      <property name="ShowBorder">0</property>
      <property name="SiteTheme"></property>
      <property name="Top">65</property>
      <property name="Width">888</property>
    </object>
    <object class="Button" name="btnAddLabor" >
      <property name="ButtonType">btNormal</property>
      <property name="Caption">Add Laborline</property>
      <property name="Color">#000000</property>
      <property name="Cursor">crPointer</property>
      <property name="Font">
            <property name="Color">#FFFFFF</property>
      </property>
      <property name="Height">25</property>
      <property name="Layer">Labor</property>
      <property name="Left">777</property>
      <property name="Name">btnAddLabor</property>
      <property name="ParentColor">0</property>
      <property name="ParentFont">0</property>
      <property name="Top">39</property>
      <property name="Width">102</property>
      <property name="jsOnClick">btnAddLaborJSClick</property>
    </object>
    <object class="JTIFrame" name="JTFrameParts" >
      <property name="AnchorsWorkaround">--Workaround--</property>
      <property name="Height">226</property>
      <property name="Layer">Parts</property>
      <property name="Left">10</property>
      <property name="Name">JTFrameParts</property>
      <property name="ShowBorder">0</property>
      <property name="SiteTheme"></property>
      <property name="Top">65</property>
      <property name="Width">888</property>
    </object>
    <object class="Button" name="btnParts" >
      <property name="ButtonType">btNormal</property>
      <property name="Caption">Add Part</property>
      <property name="Color">#000000</property>
      <property name="Cursor">crPointer</property>
      <property name="Font">
            <property name="Color">#FFFFFF</property>
      </property>
      <property name="Height">25</property>
      <property name="Layer">Parts</property>
      <property name="Left">777</property>
      <property name="Name">btnParts</property>
      <property name="ParentColor">0</property>
      <property name="ParentFont">0</property>
      <property name="Top">39</property>
      <property name="Width">102</property>
      <property name="jsOnClick">btnPartsJSClick</property>
    </object>
    <object class="Button" name="btnMisc" >
      <property name="ButtonType">btNormal</property>
      <property name="Caption">Add Miscellaneous</property>
      <property name="Color">#000000</property>
      <property name="Cursor">crPointer</property>
      <property name="Font">
            <property name="Color">#FFFFFF</property>
      </property>
      <property name="Height">25</property>
      <property name="Layer">Miscellaneous</property>
      <property name="Left">777</property>
      <property name="Name">btnMisc</property>
      <property name="ParentColor">0</property>
      <property name="ParentFont">0</property>
      <property name="Top">39</property>
      <property name="Width">112</property>
      <property name="jsOnClick">btnMiscJSClick</property>
    </object>
    <object class="JTIFrame" name="JTFrameMisc" >
      <property name="AnchorsWorkaround">--Workaround--</property>
      <property name="Height">226</property>
      <property name="Layer">Miscellaneous</property>
      <property name="Left">9</property>
      <property name="Name">JTFrameMisc</property>
      <property name="ShowBorder">0</property>
      <property name="SiteTheme"></property>
      <property name="Top">65</property>
      <property name="Width">888</property>
    </object>
  </object>
  <object class="HiddenField" name="hiddenWO" >
    <property name="Height">18</property>
    <property name="Left">974</property>
    <property name="Name">hiddenWO</property>
    <property name="Top">85</property>
    <property name="Width">71</property>
  </object>
  <object class="JTJavaScript" name="JSAJAX" >
    <property name="Code"><![CDATA[var xmlhttp
function setWODetails()
{
	
xmlhttp=GetXmlHttpObject();
if (xmlhttp==null)
  {
  alert (&quot;Your browser does not support AJAX!&quot;);
  return;
  }
var discount = document.getElementById('edDiscount').value;
var veh = document.getElementById('hiddenLine').value;
//var chkLabor = document.getElementById('chkLabor').checked;
//var chkParts = document.getElementById('chkParts').checked;
//var chkMisc = document.getElementById('chkMisc').checked;
//var tax = document.getElementById('edTax').value;
var misc = document.getElementById('edMisc').value;
var wo_id = document.getElementById('hiddenWO').value;


var chkLabor = 1;
var chkParts = 1;
var chkMisc = 1;
var tax = 0;
/*if(chkLabor==true)
{
	chkLabor=1;
}
else
{
	chkLabor=0;
}

if(chkParts==true)
{
	chkParts=1;
}
else
{
	chkParts=0;
}
if(chkMisc==true)
{
	chkMisc=1;
}
else
{
	chkMisc=0;
}
*/


var url=&quot;setWorkorderDetails.php&quot;;
url=url+&quot;?veh=&quot;+veh;
url=url+&quot;&amp;discount=&quot;+discount;
url=url+&quot;&amp;chkLabor=&quot;+chkLabor;
url=url+&quot;&amp;chkParts=&quot;+chkParts;
url=url+&quot;&amp;chkMisc=&quot;+chkMisc;
url=url+&quot;&amp;tax=&quot;+tax;
url=url+&quot;&amp;misc=&quot;+misc;
url=url+&quot;&amp;wo_id=&quot;+wo_id;
xmlhttp.onreadystatechange=stateChanged;
xmlhttp.open(&quot;GET&quot;,url,true);
xmlhttp.send(null);
}

function stateChanged()
{
if (xmlhttp.readyState==4)
  {
  var my_array = eval(xmlhttp.responseText);
  
  //var chkLabor = document.getElementById('chkLabor').checked;
  //var chkParts = document.getElementById('chkParts').checked;
  //var chkMisc = document.getElementById('chkMisc').checked;  
  var chkLabor = 1;
  var chkParts = 1;
  var chkMisc = 1;
  
  if(chkLabor==1)
  {
	  document.getElementById('edLabor').value = my_array[1];
  }
  if(chkParts==1)
  {
	  document.getElementById('edParts').value = my_array[0];
  }
  if(chkMisc==1)
  {
	  document.getElementById('edMisc').value = my_array[4];
  }
 
  //document.getElementById('edComputedTax').value = my_array[2];
  //document.getElementById('edComputedTax').value = 0;
  document.getElementById('edTotal').value = my_array[3];
  }
}

function GetXmlHttpObject()
{
if (window.XMLHttpRequest)
  {
  return new XMLHttpRequest();
  }
if (window.ActiveXObject)
  {
  return new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
return null;
}]]></property>
    <property name="Height">20</property>
    <property name="Left">942</property>
    <property name="Name">JSAJAX</property>
    <property name="Top">124</property>
    <property name="Width">135</property>
  </object>
  <object class="Edit" name="edComputedTax" >
    <property name="Color">#FFFFFF</property>
    <property name="Font">
        <property name="Align">taRight</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">1024</property>
    <property name="Name">edComputedTax</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Text">0</property>
    <property name="Top">225</property>
    <property name="Visible">0</property>
    <property name="Width">55</property>
    <property name="jsOnKeyUp">edComputedTaxJSKeyUp</property>
  </object>
  <object class="Label" name="lbComputedlTax" >
    <property name="Caption">Tax</property>
    <property name="Height">13</property>
    <property name="Left">996</property>
    <property name="Name">lbComputedlTax</property>
    <property name="Top">229</property>
    <property name="Visible">0</property>
    <property name="Width">28</property>
  </object>
  <object class="Label" name="lblTax" >
    <property name="Caption">%</property>
    <property name="Height">13</property>
    <property name="Left">977</property>
    <property name="Name">lblTax</property>
    <property name="Top">229</property>
    <property name="Visible">0</property>
    <property name="Width">13</property>
  </object>
  <object class="Edit" name="edTax" >
    <property name="Height">21</property>
    <property name="Left">936</property>
    <property name="Name">edTax</property>
    <property name="Text">0</property>
    <property name="Top">225</property>
    <property name="Visible">0</property>
    <property name="Width">41</property>
  </object>
  <object class="Label" name="Label1" >
    <property name="Caption">Attach File:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">698</property>
    <property name="Name">Label1</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">99</property>
    <property name="Width">64</property>
  </object>
  <object class="HiddenField" name="hfType" >
    <property name="Height">18</property>
    <property name="Left">906</property>
    <property name="Name">hfType</property>
    <property name="Top">67</property>
    <property name="Width">71</property>
  </object>
  <object class="JTDivWindow" name="JTDivAccount" >
    <property name="AnchorsWorkaround">--Workaround--</property>
    <property name="BorderIcons">
        <property name="Help">0</property>
        <property name="Maximize">0</property>
        <property name="Minimize">0</property>
    </property>
    <property name="BorderStyle">bsSingle</property>
    <property name="Caption">Account</property>
    <property name="Height">251</property>
    <property name="Left">570</property>
    <property name="Name">JTDivAccount</property>
    <property name="Position">poParentCenter</property>
    <property name="SiteTheme"></property>
    <property name="Top">386</property>
    <property name="Width">320</property>
    <object class="JTGroupBox" name="JTGroupBox2" >
      <property name="AnchorsWorkaround">--Workaround--</property>
      <property name="Height">202</property>
      <property name="Left">17</property>
      <property name="Name">JTGroupBox2</property>
      <property name="SiteTheme"></property>
      <property name="Top">32</property>
      <property name="Width">286</property>
      <object class="ListBox" name="listAccount" >
        <property name="Color">#000000</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">153</property>
        <property name="Items">a:0:{}</property>
        <property name="Left">12</property>
        <property name="Name">listAccount</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">43</property>
        <property name="Width">201</property>
      </object>
      <object class="Edit" name="edAccount" >
        <property name="Color">#000000</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">21</property>
        <property name="Left">12</property>
        <property name="Name">edAccount</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">17</property>
        <property name="Width">201</property>
      </object>
      <object class="Button" name="btnDelAccount" >
        <property name="ButtonType">btNormal</property>
        <property name="Caption">Delete</property>
        <property name="Color">#000000</property>
        <property name="Cursor">crPointer</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">25</property>
        <property name="Left">220</property>
        <property name="Name">btnDelAccount</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">171</property>
        <property name="Width">60</property>
        <property name="jsOnClick">btnDelAccountJSClick</property>
      </object>
      <object class="Button" name="btnAddAccount" >
        <property name="ButtonType">btNormal</property>
        <property name="Caption">Add</property>
        <property name="Color">#000000</property>
        <property name="Cursor">crPointer</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">25</property>
        <property name="Left">220</property>
        <property name="Name">btnAddAccount</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">17</property>
        <property name="Width">60</property>
        <property name="jsOnClick">btnAddAccountJSClick</property>
      </object>
    </object>
  </object>
  <object class="Label" name="Label2" >
    <property name="Autosize">1</property>
    <property name="Caption">Km/run</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">495</property>
    <property name="Name">Label2</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">99</property>
    <property name="Width">50</property>
  </object>
  <object class="Edit" name="edKmRun" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">555</property>
    <property name="Name">edKmRun</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">3</property>
    <property name="Top">96</property>
    <property name="Width">110</property>
    <property name="jsOnKeyUp">edKmRunJSKeyUp</property>
  </object>
  <object class="HiddenField" name="hfTrackBy" >
    <property name="Height">18</property>
    <property name="Left">504</property>
    <property name="Name">hfTrackBy</property>
    <property name="Width">200</property>
  </object>
  <object class="HiddenField" name="hfStartOdometer" >
    <property name="Height">18</property>
    <property name="Left">312</property>
    <property name="Name">hfStartOdometer</property>
    <property name="Width">200</property>
  </object>
  <object class="JTDivWindow" name="JTDivServiced" >
    <property name="AnchorsWorkaround">--Workaround--</property>
    <property name="BorderIcons">
        <property name="Help">0</property>
        <property name="Maximize">0</property>
        <property name="Minimize">0</property>
    </property>
    <property name="BorderStyle">bsSingle</property>
    <property name="Caption">Service Provider</property>
    <property name="Height">251</property>
    <property name="Left">419</property>
    <property name="Name">JTDivServiced</property>
    <property name="Position">poParentCenter</property>
    <property name="SiteTheme"></property>
    <property name="Top">386</property>
    <property name="Width">320</property>
    <object class="JTGroupBox" name="JTGroupBox3" >
      <property name="AnchorsWorkaround">--Workaround--</property>
      <property name="Height">202</property>
      <property name="Left">17</property>
      <property name="Name">JTGroupBox3</property>
      <property name="SiteTheme"></property>
      <property name="Top">32</property>
      <property name="Width">286</property>
      <object class="ListBox" name="listServiced" >
        <property name="Color">#000000</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">153</property>
        <property name="Items">a:0:{}</property>
        <property name="Left">12</property>
        <property name="Name">listServiced</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">43</property>
        <property name="Width">201</property>
      </object>
      <object class="Edit" name="edServiced" >
        <property name="Color">#000000</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">21</property>
        <property name="Left">12</property>
        <property name="Name">edServiced</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">17</property>
        <property name="Width">201</property>
      </object>
      <object class="Button" name="btnDelServiced" >
        <property name="ButtonType">btNormal</property>
        <property name="Caption">Delete</property>
        <property name="Color">#000000</property>
        <property name="Cursor">crPointer</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">25</property>
        <property name="Left">220</property>
        <property name="Name">btnDelServiced</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">170</property>
        <property name="Width">60</property>
        <property name="jsOnClick">btnDelServicedJSClick</property>
      </object>
      <object class="Button" name="btnAddServiced" >
        <property name="ButtonType">btNormal</property>
        <property name="Caption">Add</property>
        <property name="Color">#000000</property>
        <property name="Cursor">crPointer</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">25</property>
        <property name="Left">220</property>
        <property name="Name">btnAddServiced</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">17</property>
        <property name="Width">60</property>
        <property name="jsOnClick">btnAddServicedJSClick</property>
      </object>
    </object>
  </object>
  <object class="JTDivWindow" name="JTDivDescription" >
    <property name="AnchorsWorkaround">--Workaround--</property>
    <property name="BorderIcons">
        <property name="Help">0</property>
        <property name="Maximize">0</property>
        <property name="Minimize">0</property>
    </property>
    <property name="BorderStyle">bsSingle</property>
    <property name="Caption">Workorder Description</property>
    <property name="Height">251</property>
    <property name="Left">470</property>
    <property name="Name">JTDivDescription</property>
    <property name="Position">poParentCenter</property>
    <property name="SiteTheme"></property>
    <property name="Top">387</property>
    <property name="Width">320</property>
    <object class="JTGroupBox" name="JTGroupBox4" >
      <property name="AnchorsWorkaround">--Workaround--</property>
      <property name="Height">202</property>
      <property name="Left">17</property>
      <property name="Name">JTGroupBox4</property>
      <property name="SiteTheme"></property>
      <property name="Top">32</property>
      <property name="Width">286</property>
      <object class="ListBox" name="listDescription" >
        <property name="Color">#000000</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">153</property>
        <property name="Items">a:0:{}</property>
        <property name="Left">12</property>
        <property name="Name">listDescription</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">43</property>
        <property name="Width">201</property>
      </object>
      <object class="Edit" name="edDescription" >
        <property name="Color">#000000</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">21</property>
        <property name="Left">12</property>
        <property name="Name">edDescription</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">17</property>
        <property name="Width">201</property>
      </object>
      <object class="Button" name="btnDelDescription" >
        <property name="ButtonType">btNormal</property>
        <property name="Caption">Delete</property>
        <property name="Color">#000000</property>
        <property name="Cursor">crPointer</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">25</property>
        <property name="Left">218</property>
        <property name="Name">btnDelDescription</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">171</property>
        <property name="Width">60</property>
        <property name="jsOnClick">btnDelDescriptionJSClick</property>
      </object>
      <object class="Button" name="btnAddDescription" >
        <property name="ButtonType">btNormal</property>
        <property name="Caption">Add</property>
        <property name="Color">#000000</property>
        <property name="Cursor">crPointer</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">25</property>
        <property name="Left">218</property>
        <property name="Name">btnAddDescription</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">17</property>
        <property name="Width">60</property>
        <property name="jsOnClick">btnAddDescriptionJSClick</property>
      </object>
    </object>
  </object>
  <object class="HiddenField" name="hiddenReminder" >
    <property name="Height">18</property>
    <property name="Left">698</property>
    <property name="Name">hiddenReminder</property>
    <property name="Width">200</property>
  </object>
  <object class="Label" name="Label12" >
    <property name="Caption">* = Required Fields</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#DD0000</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">9</property>
    <property name="Name">Label12</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">37</property>
    <property name="Width">115</property>
  </object>
  <object class="Label" name="lblordernum" >
    <property name="Caption">lblordernum</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taCenter</property>
        <property name="Color">#FF0000</property>
    </property>
    <property name="Height">11</property>
    <property name="Left">127</property>
    <property name="Name">lblordernum</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">50</property>
    <property name="Width">153</property>
  </object>
  <object class="Label" name="lblod" >
    <property name="Caption">lblod</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taCenter</property>
        <property name="Color">#FF0000</property>
    </property>
    <property name="Height">11</property>
    <property name="Left">353</property>
    <property name="Name">lblod</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">83</property>
    <property name="Width">153</property>
  </object>
  <object class="HiddenField" name="hfError" >
    <property name="Height">18</property>
    <property name="Left">140</property>
    <property name="Name">hfError</property>
    <property name="Top">27</property>
    <property name="Width">128</property>
  </object>
  <object class="JTJavaScript" name="JSValidate" >
    <property name="Code"><![CDATA[function validateRequire(editBox, lblError)
{
 editValue = document.getElementById(editBox).value;
 //error = Number(document.getElementById('hfValidateError').value);
 if(editValue.length==0)
 {
  //alert('error');
  lblValue = document.getElementById(lblError).innerHTML = '&amp;darr This field is required &amp;darr';
  //alert(document.getElementById('hfValidateError').value); 
  //document.getElementById('hfValidateError').value = error + Number('1');
  //alert(document.getElementById('hfValidateError').value);
  //alert('error end');
 }
 else
 {
  lblValue = document.getElementById(lblError).innerHTML = '';
 }
}]]></property>
    <property name="Height">20</property>
    <property name="Left">242</property>
    <property name="Name">JSValidate</property>
    <property name="Top">26</property>
    <property name="Width">180</property>
  </object>
  <object class="Image" name="imgInfo" >
    <property name="Autosize">1</property>
    <property name="Border">0</property>
    <property name="Cursor">crPointer</property>
    <property name="Height">18</property>
    <property name="Hint">More Info...</property>
    <property name="ImageSource">image/info.png</property>
    <property name="Left">185</property>
    <property name="Link"></property>
    <property name="LinkTarget"></property>
    <property name="Name">imgInfo</property>
    <property name="ParentShowHint">0</property>
    <property name="ShowHint">1</property>
    <property name="Top">5</property>
    <property name="Width">18</property>
    <property name="jsOnClick">imgInfoJSClick</property>
  </object>
  <object class="JTDivWindow" name="JTDivInfo" >
    <property name="AnchorsWorkaround">--Workaround--</property>
    <property name="BorderIcons">
        <property name="Help">0</property>
        <property name="Maximize">0</property>
        <property name="Minimize">0</property>
    </property>
    <property name="BorderStyle">bsSingle</property>
    <property name="Caption">About Work Summary</property>
    <property name="Height">133</property>
    <property name="Left">465</property>
    <property name="Name">JTDivInfo</property>
    <property name="SiteTheme"></property>
    <property name="Top">389</property>
    <property name="Width">297</property>
    <object class="JTGroupBox" name="JTGroupBox5" >
      <property name="AnchorsWorkaround">--Workaround--</property>
      <property name="Height">85</property>
      <property name="Left">11</property>
      <property name="Name">JTGroupBox5</property>
      <property name="SiteTheme"></property>
      <property name="Top">35</property>
      <property name="Width">275</property>
      <object class="Label" name="Label13" >
        <property name="Caption">Click on the Labor, Parts and Miscellaneous tabs to add expenses related to each account. The sum of each of the accounts will reflect on the total Charges / Billing.</property>
        <property name="Color">#000000</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">58</property>
        <property name="Left">11</property>
        <property name="Name">Label13</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">19</property>
        <property name="Width">254</property>
      </object>
    </object>
  </object>
  <object class="Label" name="lblOrderNo" >
    <property name="Caption">*Reference No:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">32</property>
    <property name="Name">lblOrderNo</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">66</property>
    <property name="Width">86</property>
  </object>
  <object class="DateTimePicker" name="dpCompletionDate" >
    <property name="Caption">dpCreationDate</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">20</property>
    <property name="IfFormat">%Y-%m-%d</property>
    <property name="Left">123</property>
    <property name="Name">dpCompletionDate</property>
    <property name="ParentFont">0</property>
    <property name="ShowsTime">0</property>
    <property name="Top">124</property>
    <property name="Width">161</property>
  </object>
  <object class="Label" name="lblCompletionDate" >
    <property name="Caption">Completion Date:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">13</property>
    <property name="Name">lblCompletionDate</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">127</property>
    <property name="Width">102</property>
  </object>
  <object class="Edit" name="edOther" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">123</property>
    <property name="Name">edOther</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">179</property>
    <property name="Width">161</property>
  </object>
  <object class="ComboBox" name="cmbEmp" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Items">a:0:{}</property>
    <property name="Left">123</property>
    <property name="Name">cmbEmp</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">2</property>
    <property name="Top">179</property>
    <property name="Width">161</property>
  </object>
  <object class="ComboBox" name="cmbVendor" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Items">a:0:{}</property>
    <property name="Left">123</property>
    <property name="Name">cmbVendor</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">2</property>
    <property name="Top">179</property>
    <property name="Width">161</property>
  </object>
  <object class="Label" name="Label3" >
    <property name="Caption">Vendor:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">71</property>
    <property name="Name">Label3</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">157</property>
    <property name="Width">44</property>
  </object>
  <object class="ComboBox" name="cmbperformed" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Items"><![CDATA[a:2:{s:6:&quot;vendor&quot;;s:6:&quot;Vendor&quot;;s:8:&quot;employee&quot;;s:8:&quot;Employee&quot;;}]]></property>
    <property name="Left">123</property>
    <property name="Name">cmbperformed</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">1</property>
    <property name="Top">152</property>
    <property name="Width">161</property>
    <property name="jsOnChange">cmbperformedJSChange</property>
  </object>
  <object class="JTSiteTheme" name="JTSiteTheme1" >
        <property name="Left">1008</property>
        <property name="Top">31</property>
    <property name="Name">JTSiteTheme1</property>
    <property name="Theme">black</property>
  </object>
</object>
?>
